package org.spider.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DownloadProxy implements Serializable {

    /**静态代理IP*/
    private String ip;
    /**静态代理端口*/
    private int port;
    /**静态代理用户名*/
    private String username;
    /**静态代理密码*/
    private String password;
    /**动态代理认证请求头*/
    private String auth;
    /**代理类型*/
    private ProxyTypeEnum proxyTypeEnum;

    public DownloadProxy(String ip, int port) {
        this.ip = ip;
        this.port = port;
    }
}
